<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/task.css">
</head>

<body>
    <div id="app">
        <div class="logo-t">
            <img src="../img/ddlogo.jpg" alt="">
            <h1>购物车</h1>
            <span>关闭</span>
        </div>
        <div class="logo-b">
            <ul>
                <li class="checkall"><input type="checkbox">全选</li>
                <li>商品信息</li>
                <li>单价</li>
                <li>数量</li>
                <li>金额</li>
                <li>操作</li>
            </ul>
        </div>
        <div class="logo-bb">
            <input type="checkbox">当当自营
        </div>
        <div class="goods-wrap">
            <div class="checkbox-wrap">
                <input type="checkbox" class='select' />
            </div>
            <div class="img-wrap">
                <img src="../img/f5.jpg" class="goods-img" />

            </div>
            <p class="goods-name">疯狂阅读</p>
            <div class="price-wrap">$19.9</div>
            <div class="op-wrap">
                <div class="edit" data-op="-">-</div>
                <div class="goods-num">2</div>
                <div class="edit" data-op="+">+</div>
            </div>
            <div class="sum-price">$39.8</div>
            <div class="option">
                <div class="collect">收藏</div>
                <div class="delete">删除</div>
            </div>
        </div>
        <div class="goods-wrap">
            <div class="checkbox-wrap">
                <input type="checkbox" class='select' />
            </div>
            <div class="img-wrap">
                <img src="../img/f6.jpg" class="goods-img" />

            </div>
            <p class="goods-name">幸福的方法</p>
            <div class="price-wrap">$19.9</div>
            <div class="op-wrap">
                <div class="edit" data-op="-">-</div>
                <div class="goods-num">2</div>
                <div class="edit" data-op="+">+</div>
            </div>
            <div class="sum-price">$39.8</div>
            <div class="option">
                <div class="collect">收藏</div>
                <div class="delete">删除</div>
            </div>
        </div>
        <div class="tool">
            <div class="sl-all">
                <input type="checkbox" class="all" />全选
            </div>
            <div class="delete-batch">
                <div>批量删除</div>
            </div>
            <div class="goods-nums">
                您购买的商品数量：<span>4</span>
            </div>
            <div class="goods-sum-price">
                <div>您购买的商品总价：$<span id="goods-sum-price">79.6</span></div>
                <div>优惠：$<span>0</span></div>
            </div>
            <div class="buy-wrap">
                <button class="buy" onclick="buy()">结算</button>
            </div>
        </div>
    </div>
    <div class="buy-info"></div>

</body>
<script src="../js/购物车.js"></script>

</html>